diff -r ./cameraserver/CMakeLists.txt ../allwpilib-2021.3.1/cameraserver/CMakeLists.txt
39c39
< target_link_libraries(cameraserver PUBLIC ntcore cscore wpiutil opencv::opencv)
---
> target_link_libraries(cameraserver PUBLIC ntcore cscore wpiutil ${OpenCV_LIBS})
diff -r ./cscore/CMakeLists.txt ../allwpilib-2021.3.1/cscore/CMakeLists.txt
36c36
< target_link_libraries(cscore PUBLIC wpiutil opencv::opencv)
---
> target_link_libraries(cscore PUBLIC wpiutil ${OpenCV_LIBS})
127c127
<     target_link_libraries(cscorejni PUBLIC cscore wpiutil opencv::opencv)
---
>     target_link_libraries(cscorejni PUBLIC cscore wpiutil ${OpenCV_LIBS})
diff -r ./wpilibc/CMakeLists.txt ../allwpilib-2021.3.1/wpilibc/CMakeLists.txt
20c20
< target_link_libraries(wpilibc PUBLIC cameraserver hal ntcore cscore wpimath wpiutil opencv::opencv)
---
> target_link_libraries(wpilibc PUBLIC cameraserver hal ntcore cscore wpimath wpiutil ${OpenCV_LIBS})
